package ar.edu.unq.wannaplay.dtos;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import ar.edu.unq.wannaplay.helpers.CareerPlanOrganizer;
import ar.edu.unq.wannaplay.ocupation.Percentages;

public class CareerPlanOrganizerDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Map<String, Percentages> ranks;

    private String newRank;

    private String modifyedRank;

    private String deletedRank;

    private Percentages newRanges;

    private List<String> orderedRanks;

    private int id;

    public CareerPlanOrganizerDTO(final CareerPlanOrganizer entity) {
        super();
        id = entity.getId();
        ranks = new HashMap<String, Percentages>(entity.getMapRanks());
        orderedRanks = entity.getSortedRanks();
    }

    public Map<String, Percentages> getRanks() {
        return ranks;
    }

    public List<String> getOrderedRanks() {
        return orderedRanks;
    }

    public void setNewRanges(final Percentages nuevosPorcentages) {
        newRanges = nuevosPorcentages;
    }

    public Percentages getNewRanges() {
        return newRanges;
    }

    public void setNewRank(final String nuevoRank) {
        newRank = nuevoRank;
    }

    public String getNewRank() {
        return newRank;
    }

    public void setModifyedRank(final String modifyedRank) {
        this.modifyedRank = modifyedRank;
    }

    public String getModifyedRank() {
        return modifyedRank;
    }

    public void setDeletedRank(final String deletedRank) {
        this.deletedRank = deletedRank;
    }

    public String getDeletedRank() {
        return deletedRank;
    }

    public int getId() {
        return id;
    }

    public void setRanks(final Map<String, Percentages> ranks) {
        this.ranks = ranks;
    }

    public void setOrderedRanks(final List<String> orderedRanks) {
        this.orderedRanks = orderedRanks;
    }

    public void setId(final int id) {
        this.id = id;
    }

}
